package com.company.One;

public class TestPet {
    public static void main(String[] args) {
        Pet pet = new Pet("企鹅", 85, 80);
        pet.print();
        System.out.println("-----------------");
        Cat cat = new Cat("小猫咪", 52, 90);
        cat.toHospital();

    }
}
